<%@ page contentType="text/javascript; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="com.peanut.Constants"%>
<%@ page import="com.peanut.util.ApplicationProperties"%>
__base = '<%=request.getContextPath()%>';
/***AJAX请求时前面应该添加的url  ***/
AJAX_ROOT_URL = __base;
/**定义grid每页显示的记录数**/
EXT_PAGE_SIZE = <%=Constants.EXTJS_PAGE_SIZE%>
EXT_PAGE_LIMIT = EXT_PAGE_SIZE;
/***Ext store的属性定义**/
EXT_STORE_ROOT = '<%=Constants.EXTJS_STORE_ROOT%>';
EXT_STORE_TOTALPROPERTY = '<%=Constants.EXTJS_STORE_TOTALPROPERTY%>';
EXT_STORE_IDPROPERTY = '<%=Constants.EXTJS_STORE_IDPROPERTY %>';
/**
 *  某些共同的约束
 */
//datefield对应的格式
DATEFIELD_FORMAT_DEFAULT = 'Y-m-d';
//BLANK_IMAGE_URL
Ext.BLANK_IMAGE_URL = AJAX_ROOT_URL+'/static-<%=ApplicationProperties.getValue("app.version")%>/js/ext/resources/images/default/s.gif';